package com.itheima.branch;

public class Loop {
    public static void main(String[] args) {
        int num = 0;
        for (int i = 0; i < 10; i++) {
            if (i % 2 != 0) {
                num += i;
            }
        }
        System.out.println(num);
    }
}